const filterOption = {
	items: [{
			label: "入库单类型:",
			type: "text",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "type"
		},
		{
			label: "售后订单:",
			type: "text",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "saleNumber"
		},
		{
			label: "售后单类型:",
			type: "text",
			data: undefined,
			placeholder: "顾客姓名/顾客ID/手机号码",
			value: undefined,
			key: "orderType"
		},
		{
			label: "入库仓库:",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "inWarehouseId"
		},
		{
			label: "物流公司:",
			type: "text",
			data: undefined,
			placeholder: "入库单号/专属编码/条码/售后单号",
			value: undefined,
			key: "logisticsCompany"
		},
		{
			label: "物流单号:",
			type: "text",
			data: undefined,
			placeholder: "入库单号/专属编码/条码/售后单号",
			value: undefined,
			key: "logisticsNumber"
		},
		{
			label: "顾客ID:",
			type: "text",
			data: undefined,
			placeholder: "入库单号/专属编码/条码/售后单号",
			value: undefined,
			key: "customerId"
		},
		{
			label: "顾客姓名:",
			type: "text",
			data: undefined,
			placeholder: "入库单号/专属编码/条码/售后单号",
			value: undefined,
			key: "manName"
		},
		{
			label: "联系方式:",
			type: "text",
			data: undefined,
			placeholder: "入库单号/专属编码/条码/售后单号",
			value: undefined,
			key: "mobile"
		},
		{
			label: "专属编码:",
			type: "text",
			data: undefined,
			placeholder: "入库单号/专属编码/条码/售后单号",
			value: undefined,
			key: "exclusiveCode"
		},
		{
			label: "作业人员:",
			type: "text",
			data: undefined,
			placeholder: "",
			value: undefined,
			key: "updateBy"
		},
		{
			label: "入库日期:",
			type: "text",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "sureTime"
		},
		{
			label: "创建人:",
			type: "text",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "createBy"
		},
		{
			label: "备注:",
			type: "text",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "remark"
		},
	],
	labelType:'text'
};
const pager = {
	params: {
		pageIndex: 1,
		pageSize: 10,
	},
	pageTotal: 0,
	pageSizeArr: [10, 20, 30, 40]
};
const path = ['仓库管理', '入库管理', {
	label: '售后入库列表',
	name: 'afterSaleWarehousing'
}, '列表详情'];
const tabFormInline = [{
		label: '售后入库单',
		value: '',
	},
	{
		label: '单据状态',
		value: '',
	},
];
const tableFormInline = [{
		label: '售后入库单号',
		value: '',
	},
	{
		label: '入库单类型',
		value: '',
	},
	{
		label: '售后单号',
		value: ''
	},
	{
		label: '入库单类型',
		value: ''
	},
	{
		label: '入库仓库',
		value: ''
	},
	{
		label: '创建人',
		value: ''
	},
	{
		label: '操作人',
		value: ''
	},
	{
		label: '备注',
		value: ''
	}
];
const stepOption = {
	activeStep: 0,
	step: [{
			title: '创建入库单',
			description: ''
		},
		{
			title: '已入库',
			description: ''
		},
		{
			title: '已完成',
			description: ''
		},
	]
};
const editDialogFormData = {
	shippingMethod: '0', //配送方式(0:快递,1:自提；)
	shipper: undefined,
	originChannel: undefined,
	salesman: undefined,
	recipientName: undefined,
	recipientPhone: undefined,
	messagePhone: undefined,
	addressType: undefined,
	location: undefined,
	detailedAddress: undefined,
};
let Model = {
	data() {
		return {
			Model: {
				queryData: undefined,
				status:0,
				path,
				pager,
				remark:'',
				number:'',
				whWarehouseId:undefined,
				detailData: {
					actualSaleGoodsInfoVos: undefined,
					shouldSaleGoodsInfoVos: undefined,
					packingGoodsInfoVos:undefined,
				},
				packingMaterialsList:undefined,
				activeTab: '1',
				backList: {
					giaCertificate: false, //GIA证书
					productCertificate: false, //成品证书
					reticule: false, //手提袋
					box: false, //套盒
					invoice: false, //发票
					ringBox: false //戒指盒
				},
				dialogFormVisible: false,
				addDialogFormVisible:false,
				tabFormInline,
				tableFormInline,
				searchFromData: undefined,
				editDialogNewAddress: false,
				editDialogFormData,
				exportTableSelectList: undefined,
				defaultEditDialogFormData: editDialogFormData,
				exportBarcode: undefined,
				exportBarcodeFlag: false,
				filterOption,
				stepOption,
				detailFlag: false,
				fileUrl:'',
				fileName:'',
				saleLogList: [],
				uploadFile: {
					name:undefined
				},
				detailTableFrom: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab1TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab2TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
			}
		}
	}
}
export default Model;
